$("#form-workFlow-add").validate({
	rules:{
		flowName:{
			required:true,
		},
		flowCode:{
			required:true,
		},
		remark:{
			required:true,
		},
	},
	submitHandler:function(form){
		add();
	}
});

function add() {
    _ajax_save(ctx + "module/workFlow/save", $('#form-workFlow-add').serialize());
}